<!-- Left side column. contains the logo and sidebar -->
<aside class="left-side sidebar-offcanvas">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <include file="Admin@default/common/user-panel" />
        <!-- search form -->
<!--        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="搜索..."/>
                <span class="input-group-btn">
                    <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                </span>
            </div>
        </form>-->
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <php>\Think\Hook::listen('adminMenuBefore', $menu_list);</php>
            <volist name="menu_list" id="menu">
            <li class="treeview">

                <a href="#">
                    <i class="fa {$menu.icon}"></i> <span>{$menu.title}</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                    <volist name="menu['node_list']" id="node">
                    <li n-id="{$node.id}"><a href="{$node.url}"><i class="fa fa-angle-double-right"></i> {$node.title}</a></li>
                    </volist>
                </ul>
            </li>
            </volist>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
